home *** CD-ROM | disk | FTP | other *** search
/ Scene 96 / Scene 96 International Edition (Zyklop Software) (Disc 2) (1997).iso / misc / coding / midas060 / samples / dos / makefile < prev    next >
Encoding:
Makefile  |  1997-01-16  |  653 b   |  30 lines

  1. # MIDAS Sound System directory:
  2.  
  3. MIDASDIR = ..\..
  4. MIDASINCS = $(MIDASDIR)\src
  5. MIDASLIB = $(MIDASDIR)\lib\midasdos.lib
  6.  
  7. # Compilers and options:
  8.  
  9. CC = wcc386
  10. CL = wcl386
  11.  
  12. # Maximum optimization for speed:
  13. CCOPTS = -w3 -dDEBUG -5r -fpi -oneatx -s -i$(MIDASINCS) -zdp -zu -d__WC32__
  14. CLOPTS = $(CCOPTS)
  15.  
  16. ASM = tasm
  17. ASMOPTS = -UT310 -p -ml -m9 -zi -d__WC32__ -l -i$(MIDASINCS)
  18.  
  19.  
  20. all :           demo.exe miniplay.exe
  21.  
  22. demo.exe :      demo.obj $(MIDASLIB)
  23.         wlink @demo.wlk library $(MIDASLIB)
  24.  
  25. demo.obj : demo.c
  26.         $(CC) demo.c $(CCOPTS)
  27.  
  28. miniplay.exe :    miniplay.c $(MIDASLIB)
  29.     $(CL) miniplay.c $(MIDASLIB) $(CLOPTS)    
  30.